<template>
  <div class="dljjc_box3_x" style="min-height: 100vh">
    <n-tabs
      :default-value="data.tab"
      @update:value="set.tabhand"
      type="segment"
      class="lv2nav"
    >
      <n-tab-pane name="bz_list" tab="管理组成员"> fasfsafas </n-tab-pane>
      <n-tab-pane name="DdXn" tab="管理组后台">dsadas </n-tab-pane>
    </n-tabs>
  </div>
</template>

<script>
import { cfg } from "@/cfg/cfg.js";
export default {
  setup() {
    const set = {
      tabhand: async (id) => {
        data.tab = id;
        cfg.router.replace({
          query: {
            ...cfg.route.query,
            tab: id,
          },
        });
      },
    };
    let data = reactive({
      tab: cfg.route.query.tab ?? "bz_list",
    });

    onMounted(async () => {});
    return { data, cfg, set };
  },
};
</script>
